package com.boarsoft.message.bean;

public class TargetQueueInfo extends AbstractQueueInfo {
	private static final long serialVersionUID = 6438887148268652083L;

	/** 收件人查找器 */
	protected String recipientFinder;

	/** */
	protected String recipients;

	/** 消息类型 */
	protected short type = TargetMQ.TYPE_QUEUE;
	/** 队列可靠性 */
	protected short reliability = TargetMQ.RA_MEM;
	/** 消息有效期，单位分钟 */
	protected int term = 48 * 60;
	/** 是否由消息服务器代为发送 */
	protected boolean relay;

	public String getRecipientFinder() {
		return recipientFinder;
	}

	public void setRecipientFinder(String recipientFinder) {
		this.recipientFinder = recipientFinder;
	}

	public String getRecipients() {
		return recipients;
	}

	public void setRecipients(String recipients) {
		this.recipients = recipients;
	}

	public String getBroker() {
		return broker;
	}

	public void setBroker(String broker) {
		this.broker = broker;
	}

	public short getType() {
		return type;
	}

	public void setType(short type) {
		this.type = type;
	}

	public short getReliability() {
		return reliability;
	}

	public void setReliability(short reliability) {
		this.reliability = reliability;
	}

	public int getTerm() {
		return term;
	}

	public void setTerm(int term) {
		this.term = term;
	}

	public boolean isRelay() {
		return relay;
	}

	public void setRelay(boolean relay) {
		this.relay = relay;
	}
}
